package com.qst.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qst.order.domain.ProductSpec;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductSpecMapper  extends BaseMapper<ProductSpec> {

    @Delete("DELETE FROM t_product_spec WHERE product_id = #{productId}")
    int deleteByProductId(Integer productId);
}
